package cn.iocoder.yudao.module.digital.service.cardchannel.model.bamboo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class BambooOrderDetail {
    public Integer orderId;
    public String requestId;
    public List<Item> items;
    public String status;
    public String createdDate;
    public String total;
    public String errorMessage;
    public String orderType;
    public String currency;

    @Data
    public static class Item {
        public String brandCode;
        public String productId;
        public BigDecimal productFaceValue;
        public Integer quantity;
        public String pictureUrl;
        public String countryCode;
        public String currencyCode;
        public List<Card> cards;
    }

    @Data
    public static class Card {
        public Integer id;
        public String serialNumber;
        public String cardCode;
        public String pin;
        public String expirationDate;
        public String status;
    }
}
